package com.wdh.cloud.domain.order;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderEntity {

    /**
     * Column: id
     * Type: INT
     */
    private Integer id;

    /**
     * Column: product_sku
     * Type: VARCHAR(50)
     * Remark: sku
     */
    private String productSku;

    /**
     * Column: product_name
     * Type: VARCHAR(50)
     * Remark: 商品名称
     */
    private String productName;

    /**
     * Column: user_name
     * Type: VARCHAR(20)
     * Remark: 用户名称
     */
    private String userName;

    /**
     * Column: order_price
     * Type: DECIMAL
     * Remark: 商品金额
     */
    private BigDecimal orderPrice;

    /**
     * Column: create_time
     * Type: DATETIME
     * Remark: 订单时间
     */
    private Date createTime;
}
